<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<portlet:defineObjects />

<h1>Thay Đổi Thông Tin</h1>
<portlet:actionURL var="saveditFacultyURL">
	<portlet:param name="action" value="saveditFaculty"/>
</portlet:actionURL>
<portlet:renderURL var="facultyURL">
	<portlet:param name="action" value="faculty"/>
</portlet:renderURL>


<form action="${saveditFacultyURL}" method="post">
	<label>Tên Khoa:</label>
	<input type="text" name='<portlet:namespace/>nameFaculty' value="${nameFaculty}" /><br/>
	<label>Khoa Thuộc Nhóm:</label>
	<select name='<portlet:namespace/>group'>
		<c:forEach items="${listGroup}" var="e">
			<option value="${e.id}">${e.name}</option>
		</c:forEach>
	</select>
	<input type="submit" value="Save" />
</form>
<a href="${facultyURL}">Back</a>
